package com.recharge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.recharge.common.result.ResultDO;
import com.recharge.core.entity.BlacklistLogEntity;
import com.recharge.domain.query.BlacklistLogQueryDO;
import com.recharge.domain.vo.BlacklistLogDO;

/**
 * <p>
 * 黑名单 服务类
 * </p>
 *
 * @author Reagan
 * @since 2020-09-21
 */
public interface BlacklistLogService extends IService<BlacklistLogEntity> {

    /**
     * 添加黑名单记录
     * @param domain
     * @return ResultDO
     */
    public ResultDO add(BlacklistLogDO domain);

    /**
     * 删除黑名单记录
     * @param id
     * @return
     */
    public ResultDO remove(String id);

    /**
     * 查找系黑名单记录
     * @param query
     * @return ResultDO
     */
    public ResultDO find(BlacklistLogQueryDO query);
}
